﻿using PioneerBoilerplate.Model.BaseEntity;
using System;
using System.Collections.Generic;

namespace PioneerBoilerplate.Model.Audits
{
    public class SaveChangesAuditEntity
    {
        public long Id { get; set; }
        public Guid AuditId { get; set; }
        public DateTime StartTime { get; set; }
        public DateTime EndTime { get; set; }
        public bool Succeeded { get; set; }
        public string ErrorMessage { get; set; }

        public ICollection<AuditEntity> Entities { get; } = new List<AuditEntity>();
    }
}
